﻿<%@ Page Title="Title" Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<head>
    <style type="text/css">
        .auto-style1 {
            width: 1016px;
            height: 595px;
        }

        .auto-style2 {
            width: 543px;
            height: 809px;
        }
    </style>
</head>

<asp:panel id="Panel1" runat="server">
        Welcome To Windows Azure Machine Learning Demo</asp:panel>
<p>
    To Start, Please enter your SQL Azure Connection information below.
</p>

<form method="POST" action="/Home/Validate">
    <p>Connection String </p>
    <p>
        <textarea name="SqlConnectionString" cols="200" rows="10" /></textarea>
    </p>
    <p>Query</p>
    <p>
        <textarea name="Query" cols="200" rows="10"></textarea>
    </p>
    <p>Web Service OData Endpoint</p>
    <p>&nbsp;<input name="WSEndpoint" type="text" size="200" /></p>
     <p>Web Service API Key</p>
    <p>&nbsp;<input name="WSKey" type="text" size="200" /></p>
    <input type="submit" value="Validate">
</form>


<p>
    Here is how to get it: After clicking &quot;View Sql Database connnection strings...&quot;, please copy connection string for &quot;ADO.NET&quot;, don&#39;t forget to allow connection in firewall rules.
</p>
<p>
    <img alt="Go to Sql Azure Management Portal to get your sql server connection string" class="auto-style1" src="../../Content/Images/SqlAzureSample.JPG" />
</p>
<p>
    <img alt="" class="auto-style2" src="../../Content/Images/SqlAzureSample2.JPG" />
</p>






